import request from '@/utils/request'

export function pageDocumentFavorite(data) {
  return request({
    url: '/api/fd/document_favorite/page',
    method: 'post',
    data
  })
}

export function saveDocumentFavorite(data) {
  return request({
    url: '/api/fd/document_favorite/save',
    method: 'post',
    data
  })
}

export function deleteDocumentFavorite(data) {
  return request({
    url: '/api/fd/document_favorite/delete',
    method: 'post',
    data
  })
}


export function deleteDocumentFavoriteByIds(data) {
  return request({
    url: '/api/fd/document_favorite/delete_by_ids',
    method: 'post',
    data
  })
}
